<template>
  <div class="app-container">
    <h1>学生导入帮助</h1>
    <p>您需要按以下格式导入，或者直接下载模板修改。</p>
    <el-divider/>
    <el-row>
      <el-button type="primary" @click="handleDownload">
        <svg-icon icon-class="download"/>
        下载模板
      </el-button>
    </el-row>
    <div class="demo-image__lazy">
      <el-image
        :src="require('@/assets/help/helpstudent.png')"
        lazy/>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {
    handleDownload() {
      window.location.href = 'static/help/importStudent.xlsx'
    }
  }
}
</script>

